// 	Name: 3.c
//	Description: Chapter 2 exercise 3
//	Author: StableGenius
//	Date: 2020-05-06
//	Email: feng@dongfa.pro

/* Computes the dimensional weight of a 12" x 10" x 8" box */
#include <stdio.h>

int main(void){
	int volume, height = 8, length = 12, width = 10;
	
	volume = height * length * width;
	
	printf("Dimensions: %dx%dx%d\n", length, width, height);
	printf("Volume (cubic inches): %d\n", volume);
	printf("Dimensional weight (pounds): %d\n", (volume + 165) / 166);
	
	return 0;
}
